WPO\WC\PDF_Invoices\Settings D

Total Complexity 157
Dependencies 3
Dependents 0
Total lines 748
Lines of code 550
Logical lines of code 308
Comment lines 87
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
preview_order_search()
B
36 20 72
ajax_preview()
B
34 17 88
get_installed_templates()
A
45 13 36
get_common_document_settings()
A
56 13 15
maybe_migrate_template_paths()
A
49 9 29
add_settings_fields()
A
48 8 35
get_template_list_cache()
A
50 8 29
move_setting_after_id()
S
50 6 28
get_template_path()
S
54 6 21
maybe_disable_preview_on_settings_tabs()
S
60 5 12
settings_page()
S
53 4 22
get_output_mode()
S
59 4 16
get_sequential_number_store_method()
S
63 5 9
debug_settings_updated()
S
70 5 5
check_auto_increment_increment()
S
65 4 8
set_number_store()
S
60 3 12
get_document_settings()
S
65 3 9
general_settings_updated()
S
70 3 6
get_relative_template_path()
S
65 3 8
get_media_upload_setting_html()
S
61 2 12
__construct()
S
53 1 20
maybe_delete_flush_rewrite_rules_transient()
S
72 2 6
normalize_path()
S
77 2 3
get_output_format()
S
66 2 8
add_support_links()
S
62 2 10
is_guest_access_enabled()
S
73 2 4
menu()
S
64 1 11
delete_template_list_cache()
S
81 1 3
set_template_list_cache()
S
76 1 4
settings_capabilities()
S
82 1 3
add_settings_link()
S
69 1 6